package com.shiyue.cqe.bind.xml.bean;

import java.io.Serializable;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;

@SuppressWarnings("serial")
@Root(name = "column",strict=false)
public class Column implements Serializable {
	@Attribute(name="isDataBaseColumn",required=false)
	private boolean isDataBaseColumn;
	
	@Attribute(required=false)
	private String colSpan;
	
	@Attribute(required=false)
	private String rowSpan;
	
	@Attribute(required=false)
	private String showName;
	
	@Attribute(required=false)
	private String name;
	
	@Attribute(required=false)
	private String des;
	
	@Attribute(required=false)
	private String controlsType;
	
	@Attribute(required=false)
	private String controlsName;
	
	@Attribute(required=false)
	private String type;
	
	@Attribute(required=false)
	private boolean isDate;
	
	@Attribute(required=false)
	private String minValue;
	
	@Attribute(required=false)
	private String maxValue;
	
	@Attribute(required=false)
	private String defaultValue;
	
	@Attribute(required=false)
	private boolean isIndex;
	
	@Attribute(required=false)
	private boolean unique;
	
	@Attribute(required=false)
	private String method;
	
	@Attribute(required=false)
	private String maxLength;
	
	@Attribute(required=false)
	private String width;
	
	@Attribute(required=false)
	private String height;
	
	@Attribute(required=false)
	private String cols;
	
	@Attribute(required=false)
	private String rows;
	
	@Attribute(name="nature",required=false)
	private String nature;//属于评价表标识 或 属于档案类数据
	
	@Attribute(name="heap",required=false)
	private boolean heap;//评价表中的数据是否累积显示。例如：本人、家长互动留言，在显示的时候每条都会一条条显示出来
	
	@Attribute(name="notNull",required=false)
	private boolean notNull;
	
	public boolean isNotNull() {
		return notNull;
	}
	public void setNotNull(boolean notNull) {
		this.notNull = notNull;
	}
	public boolean isDataBaseColumn() {
		return isDataBaseColumn;
	}
	public void setDataBaseColumn(boolean isDataBaseColumn) {
		this.isDataBaseColumn = isDataBaseColumn;
	}
	public String getColSpan() {
		return colSpan;
	}
	public void setColSpan(String colSpan) {
		this.colSpan = colSpan;
	}
	public String getRowSpan() {
		return rowSpan;
	}
	public void setRowSpan(String rowSpan) {
		this.rowSpan = rowSpan;
	}
	public String getShowName() {
		return showName;
	}
	public void setShowName(String showName) {
		this.showName = showName;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDes() {
		return des;
	}
	public void setDes(String des) {
		this.des = des;
	}
	public String getControlsType() {
		return controlsType;
	}
	public void setControlsType(String controlsType) {
		this.controlsType = controlsType;
	}
	public String getControlsName() {
		return controlsName;
	}
	public void setControlsName(String controlsName) {
		this.controlsName = controlsName;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public boolean isDate() {
		return isDate;
	}
	public void setDate(boolean isDate) {
		this.isDate = isDate;
	}
	public String getMinValue() {
		return minValue;
	}
	public void setMinValue(String minValue) {
		this.minValue = minValue;
	}
	public String getMaxValue() {
		return maxValue;
	}
	public void setMaxValue(String maxValue) {
		this.maxValue = maxValue;
	}
	public String getDefaultValue() {
		return defaultValue;
	}
	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}
	public boolean isIndex() {
		return isIndex;
	}
	public void setIndex(boolean isIndex) {
		this.isIndex = isIndex;
	}
	public boolean isUnique() {
		return unique;
	}
	public void setUnique(boolean unique) {
		this.unique = unique;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getMaxLength() {
		return maxLength;
	}
	public void setMaxLength(String maxLength) {
		this.maxLength = maxLength;
	}
	public String getWidth() {
		return width;
	}
	public void setWidth(String width) {
		this.width = width;
	}
	public String getHeight() {
		return height;
	}
	public void setHeight(String height) {
		this.height = height;
	}
	public String getCols() {
		return cols;
	}
	public void setCols(String cols) {
		this.cols = cols;
	}
	public String getRows() {
		return rows;
	}
	public void setRows(String rows) {
		this.rows = rows;
	}
	public String getNature() {
		return nature;
	}
	public void setNature(String nature) {
		this.nature = nature;
	}
	public boolean isHeap() {
		return heap;
	}
	public void setHeap(boolean heap) {
		this.heap = heap;
	}
}
